<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	{section loop=$attr name=n}
		
		{if $smarty.section.n.index<=3}
			<b style="color:red">{$attr[n].uname}</b>
		{else}
			{$attr[n].uname}
		{/if}
	
	{/section}

	
</body>
</html>